<?php
/**
 * --------------------------------------------------------------
 * 导航验证器
 * --------------------------------------------------------------
 * Light Year Doc
 * @author yinq<3331653644@qq.com>
 * --------------------------------------------------------------
 */
namespace app\admin\validate;

use think\Validate;

class Navigation extends Validate
{
    protected $rule = [
        'title|导航名称'    => 'require|length:1,30|unique:navigation',
        'title|导航英文名称' => 'require|length:1,50'
    ];
}